/* NAVBAR MEGA MENU */
.mega-menu {
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    background: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 2rem 0;
}

/* Remove the duplicate .category-grid rules and consolidate them */
.category-grid {
    display: grid;
    grid-template-columns: 1fr;  /* Single column for category links */
    gap: 8px;
}

.category-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.category-section h5 {
    grid-column: 1 / -1;
    color: var(--primary-color);
    font-weight: 600;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Add styling for category-menu */
.category-menu {
    padding: 1rem;
    margin-bottom: 1rem;
}

.category-menu h5 {
    color: var(--primary-color);
    font-weight: 600;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}
.linknotunder{text-decoration: none;}
.category-link {
    color: var(--dark-color);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.category-link:hover {
    background-color: rgba(0,86,179,0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.simple-category-link {
    font-weight: 600;
    color: #333;
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: all 0.2s ease;
}

.simple-category-link:hover {
    text-decoration: none;
    color: var(--primary-color);
    padding-left: 5px;
}

.dropdown-header {
    margin-bottom: 15px;
}

